package com.linghang.wusthelper.redis;

public interface RedisService {

    boolean set(String key,String value);

    String get(String key);

    boolean remove(String key);

    boolean hasKey(String key);

    boolean expire(String key,long time);

    long getExpire(String key);

    boolean set(String key,String value,long time);
}
